package com.itmg.dao;

import java.util.List;

import com.itmg.dao.bean.ConditionBean;
import com.itmg.dao.model.CacheModel;
import com.itmg.dao.model.DataModel;
import com.itmg.vo.SearchResultItemVO;

public interface CacheDAO {
	
	public void saveData(ConditionBean conditionBean) throws Exception;
	
	public List<DataModel> getCacheModelAll() throws Exception;
	
	public List<SearchResultItemVO> getCacheModelByProductMd5(ConditionBean conditionBean) throws Exception;
	
	public Integer getCountByPrice(ConditionBean conditionBean) throws Exception;
	
	public void deleteAll() throws Exception;
	
	//加载所有的MD5信息
	public List<CacheModel> getProductMd5All() throws Exception;

}
